<?php
/**
 * PddFilterTpl.php class file.
 * @author wudg <544038230@qq.com>
 * @date 2021/1/17- 下午4:29
 */
namespace common\jobs\models;

use common\models\pdd\PddFilterTpl as BasePddFilterTpl;
use yii\behaviors\TimestampBehavior;
class PddFilterTpl extends BasePddFilterTpl
{

    /**
     * 自动录入新增和修改时间
     * @return array
     */
    public function behaviors()
    {
        $times = [
            [
                'class' => TimestampBehavior::className(),
                'createdAtAttribute' => 'created_at',
                'updatedAtAttribute' => 'updated_at',
            ],
        ];

        return $times;
    }


}
